<?php

namespace App\Models\CarModels;

use Illuminate\Database\Eloquent\Model;

class CarRepairRecordDetail extends Model
{
    //
    protected $table = 'car_repair_record_details';
    protected $fillable = ['record_id','name','unit','number','price','total_price','desc'];

    function files()
    {
        return $this->hasMany(CarRepairRecordDetailFiles::class,'f_id')->with('file');
    }
}
